package cn.scw.project.separate.mapper;

import cn.scw.project.separate.domain.SaUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SaUserMapper {

    void insert(SaUser user);

    void update(SaUser user);

    void delete(@Param("id") Long id);

    List<SaUser> list(Map<String, Object> params);

    SaUser select(@Param("id") Long id);

    List<SaUser> queryFacUser(@Param("facId") String facId);

    SaUser selectOpenId(@Param("openid") String openid);
}
